<?php
	session_start();
	require('../core/config.php');
	if(isset($_SESSION['islogin'])){
		$link = getLink();
		$smarty->assign('link',$link);
		$smarty->display($_config['root']."admin/html/link.html");
	}else{
		include('login.php');
	}
?>